package edu.zut.pioneer.supplier.domain;

import edu.zut.pioneer.base.domain.BaseTree;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="supplier_type")
public class SupplierType extends BaseTree<SupplierType,Long> {

    @Column(name="name")
    private String name;

    public SupplierType() {
    }

    public SupplierType(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
